<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin_icin.Master" CodeBehind="OzellikEkle.aspx.cs" Inherits="OnlineAnadolu.OzellikEkle" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    &nbsp;<table style="width: 325px">
        <tr>
            <td>
                <asp:Menu ID="Menu1" runat="server" BackColor="#B5C7DE" DynamicHorizontalOffset="2"
                    Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" Height="21px" MaximumDynamicDisplayLevels="500"
                    OnMenuItemClick="Menu1_MenuItemClick" StaticSubMenuIndent="10px" Width="75px">
                    <Items>
                        <asp:MenuItem Text="Bir Kategori Seciniz" Value="Kategoriler"></asp:MenuItem>
                    </Items>
                    <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <DynamicHoverStyle BackColor="#284E98" ForeColor="White" />
                    <DynamicMenuStyle BackColor="#B5C7DE" />
                    <StaticSelectedStyle BackColor="#507CD1" />
                    <DynamicSelectedStyle BackColor="#507CD1" />
                    <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <StaticHoverStyle BackColor="#284E98" ForeColor="White" />
                </asp:Menu>
            </td>
            <td colspan="2" valign="top">
                <asp:Label ID="Label2" runat="server" Width="295px"></asp:Label></td>
        </tr>
        <tr>
            <td style="height: 18px">
                <asp:Label ID="Label1" runat="server" Text="Ozellik"></asp:Label></td>
            <td style="width: 168px; height: 18px">
                <asp:TextBox ID="tb_Ozellik" runat="server" Width="117px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tb_Ozellik"
                    ErrorMessage="*" ValidationGroup="ozell"></asp:RequiredFieldValidator>
            </td>
            <td style="width: 96px; height: 18px">
                <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1"
                    DataTextField="datatype" DataValueField="attributecode">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lb_Uyari" runat="server"></asp:Label></td>
            <td style="width: 168px">
                <asp:Button ID="bt_Kaydet" runat="server" OnClick="bt_Kaydet_Click" Text="Kaydet" ValidationGroup="ozell" />
            </td>
            <td style="width: 96px">
            </td>
        </tr>
    </table>
    &nbsp;&nbsp;
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:shoppingConnectionString %>"
        SelectCommand="SELECT [datatype], [attributecode] FROM [attributetypes]"></asp:SqlDataSource>
</asp:Content>